feat(docs): add DataStore migration guide with Apollo Client patterns#8540
Draft
ahmedhamouda78 wants to merge 3 commits intoaws-amplify:mainfrom
Draft
feat(docs): add DataStore migration guide with Apollo Client patterns#8540ahmedhamouda78 wants to merge 3 commits intoaws-amplify:mainfrom
ahmedhamouda78 wants to merge 3 commits intoaws-amplify:mainfrom
Conversation
- Add comprehensive migration guide index page for DataStore to Apollo Client - Add choose-strategy guide for migration approach selection - Add set-up-apollo guide for Apollo Client configuration - Add migrate-crud-operations guide for query and mutation patterns - Add migrate-relationships guide for handling data relationships - Add add-local-caching guide for persistent cache and optimistic updates - Add build-offline-support guide for offline-first functionality - Add advanced-patterns guide for complex migration scenarios - Update directory structure to include new migrate-from-datastore section with nested pages - Provides step-by-step guidance for developers transitioning from DataStore to Apollo Client
cafe758 to
c222f63
Compare
c222f63 to
3253b89
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
Adds a comprehensive migration guide for Gen 1 developers who want to replace DataStore with Apollo Client while keeping their Gen 1 backend. The guide covers three strategies based on application needs:
apollo3-cache-persistThe guide includes 8 pages: strategy decision framework, Apollo Client setup with Cognito auth, CRUD operation migration, relationship migration, local caching, offline support, and advanced patterns (composite keys, codegen, React component migration). All pages include before/after code examples mapping DataStore APIs to their Apollo Client equivalents, with platform-specific content for React, Angular, Vue, Next.js, React Native, and vanilla JS.
Related GitHub issue #, if available:
Instructions
Which product(s) are affected by this PR (if applicable)?
Which platform(s) are affected by this PR (if applicable)?
Checks
Does this PR conform to the styleguide?
Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.
Are any files being deleted with this PR? If so, have the needed redirects been created?
Are all links in MDX files using the MDX link syntax rather than HTML link syntax?
When this PR is ready to merge, please check the box below
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.